home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / wgdb-42.lha / wgdb-4.2 / gdb / xm-ultra3.h < prev    next >
C/C++ Source or Header  |  1992-09-11  |  2KB  |  75 lines

  1. /* Host definitions for GDB running on a 29k NYU Ultracomputer
  2.    Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc.
  3.    Contributed by David Wood (wood@lab.ultra.nyu.edu).
  4.  
  5. This file is part of GDB.
  6.  
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or
  10. (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  20.  
  21. /* Here at NYU we have what we call an ULTRA3 PE board.  So
  22.    ifdefs for ULTRA3 are my doing.  At this point in time,
  23.    I don't know of any other Unixi running on the 29k.  */
  24.  
  25. #define HOST_BYTE_ORDER BIG_ENDIAN
  26.  
  27. #define HAVE_WAIT_STRUCT
  28.  
  29. #ifndef L_SET
  30. # define L_SET   0 /* set the seek pointer */
  31. # define L_INCR  1 /* increment the seek pointer */
  32. # define L_XTND  2 /* extend the file size */
  33. #endif
  34.  
  35. #ifndef O_RDONLY
  36. # define O_RDONLY 0
  37. # define O_WRONLY 1
  38. # define O_RDWR      2
  39. #endif
  40.  
  41. #ifndef F_OK
  42. # define R_OK 4
  43. # define W_OK 2
  44. # define X_OK 1
  45. # define F_OK 0
  46. #endif
  47.  
  48. /* For dirbuf[] in main.c */
  49. #ifndef MAXPATHLEN
  50. #define MAXPATHLEN (1024)
  51. #endif
  52.  
  53. /* Get rid of any system-imposed stack limit if possible */
  54.  
  55. #define    SET_STACK_LIMIT_HUGE
  56.  
  57. /* Override copies of {fetch,store}_inferior_registers in infptrace.c.  */
  58. #define FETCH_INFERIOR_REGISTERS
  59.  
  60. /* If we ever *do* end up using the standard fetch_inferior_registers,
  61.    this is the right value for U_REGS_OFFSET.  */
  62. #define    U_REGS_OFFSET    0
  63.  
  64. /* System doesn't provide a list of signal names. */
  65. #define    SYS_SIGLIST_MISSING 1
  66.  
  67. /* System doesn't provide siginterrupt().  */
  68. #define    NO_SIGINTERRUPT
  69.  
  70. /* System uses a `short' to hold a process group ID.  */
  71. #define    SHORT_PGRP
  72.  
  73. /* No vfork in this system.  */
  74. #define    vfork()    fork()
  75.